﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;


namespace SGRapidForm.Permission.Entity
{
    [DataContract]
    public class Role : EntityBase
    {
        public Role()
        { }

        #region Model

        private string _keyid = string.Empty;
        private string _rolecode = string.Empty;
        private string _rolename = string.Empty;
        private string _rolenameen = string.Empty;
        private string _helpcode = string.Empty;
        private string _remark = string.Empty;
        private int? _grade = 0;
        private string _createname = string.Empty;
        private DateTime? _createdate = new DateTime(1900, 1, 1, 0, 0, 0);
        private string _modifyname = string.Empty;
        private DateTime? _modifydate = new DateTime(1900, 1, 1, 0, 0, 0);



        [DataMember]
        public string Keyid
        {
            set { _keyid = value; }
            get { return _keyid; }
        }

        [DataMember]
        public string RoleCode
        {
            set { _rolecode = value; }
            get { return _rolecode; }
        }

        [DataMember]
        public string RoleName
        {
            set { _rolename = value; }
            get { return _rolename; }
        }

        [DataMember]
        public string RoleNameEn
        {
            set { _rolenameen = value; }
            get { return _rolenameen; }
        }

        [DataMember]
        public string HelpCode
        {
            set { _helpcode = value; }
            get { return _helpcode; }
        }

        [DataMember]
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        [DataMember]
        public int? Grade
        {
            set { _grade = value; }
            get { return _grade; }
        }

        [DataMember]
        public string CreateName
        {
            set { _createname = value; }
            get { return _createname; }
        }

        [DataMember]
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }

        [DataMember]
        public string ModifyName
        {
            set { _modifyname = value; }
            get { return _modifyname; }
        }

        [DataMember]
        public DateTime? ModifyDate
        {
            set { _modifydate = value; }
            get { return _modifydate; }
        }
        #endregion Model

    }
}
